﻿using Interfaces;

namespace Models
{
    public class Item : IItem
    {

        #region Properties

        public int Id { get; private set; }
        public string Size { get; private set; }
        public string Color { get; private set; }
        public string SizeColor { get; private set; }
        public int Quantity { get; private set; }
        public bool Available { get; private set; }

        #endregion

        #region Creation

        public Item(int inputId, int inputQuantity, bool inputAvailable, string inputColor, string inputSize)
        {
            Id = inputId;
            Quantity = inputQuantity;
            Available = inputAvailable;
            Color = inputColor;
            Size = inputSize;

            SizeColor = Color + " " + Size;
        }

        #endregion

    }
}
